package com.rzj.book.service;

import com.rzj.book.en.Category;
import com.rzj.book.utils.PageResult;

import javax.servlet.ServletOutputStream;
import java.util.List;

/**
 * @description:
 * @author: rzj
 * @time: 2020/6/3 21:23
 */
public interface ICategoryService {

    PageResult<Category> getListByCategort(Integer page, Integer size, Category category);

    Category getCategoryById(Integer id);

    List<Category> getCategoryCommbox();

    void updateById(Category category);

    void deleteCategory(Integer id);

    void addCategory(Category category);

    void excelCategory(ServletOutputStream outputStream, Category category);
}
